package com.itheima.附加题.work1;

public class Clerk extends Employee{
    Manager m;
    public Clerk() {
    }

    public Clerk(String name, String workld, String dept) {
        super(name, workld, dept);
    }

    public Manager getM() {
        return m;
    }

    public void setM(Manager m) {
        this.m = m;
    }

    @Override
    public void showMsg() {
        super.showMsg();
        System.out.println("他的经理是"+m.getName());
    }
}
